//封装ls


const setContent = (key,content) => {
    return window.localStorage.setItem(key,content)
}

const getContent = () => {
    return window.localStorage.valueOf()
}

const deleteContent = (key) => {
    window.localStorage.removeItem(key)
}

export {
    setContent,
    getContent,
    deleteContent
}